package com.kmxd.ams.client.license;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kmxd.ams.client.license.dto.ConfLicenseEditDTO;
import com.kmxd.ams.infra.license.entity.ConfLicense;

/**
 * 授权信息表 服务类
 *
 * @author ZuoLG
 * @since 2023-05-12
 */
public interface IConfLicenseSvc extends IService<ConfLicense> {

  /**
   * 卸载授权
   *
   * @throws Exception
   */
  void uninstallAuth() throws Exception;

  /**
   * 获取授权信息
   *
   * @return
   */
  ConfLicense getLicenseInfo();

  /**
   * 修改
   *
   * @param req
   */
  void licenseAuth(ConfLicenseEditDTO req) throws Exception;
}
